<if condition="IS_POST">
    <if condition="$task['member_id']==$memberInfo['id']">
        <tr id="condition{$mit}" class="">
            <td>
                <html:dropdownselect class="memberselect" selected="" typelimit="1" listloaded="" name="member" style="height:auto; min-width:90px; width:auto;" multi="0" action="{:U('Team/membergroup')}" title="选择员工" placeholder="点击选择" />
                {$list.0.inputhidden}
            </td>
            <volist name="list" id="vo">
                <td style="text-align:center;">{$vo.html}</td>
            </volist>
            <td class="straight">
                <!--<a href="##" onClick="FormListAdd();" class="btn btn-success addformline-btn"><i class="fa icon-plus"></i> 加一行</a>-->
                <a href="javascript:void(0);" onClick="$('.btnreset').click();" class="btn btn-success">保存</a>
                <a href="javascript:void(0);" class="btn btn-danger delete-btn-self">删除</a>
                <div style="display:inline;"><!--<a href="##" onClick="FormSend(this);" class="btn btn-success saveall-btn">保存全部</a><span class="hidden">正在处理……</span>--></div>
                <script>
                $('#condition{$mit} .memberselect').blur(function(e) {
                    $(this).find('input[name="member_id"]').attr('name', 'member_id[]');
                });
                $(window).trigger('load');
				$("#condition{$mit} .delete-btn-self").click(function(e) {
                    var judge=confirm("确定删除？");
					if(judge){
						$(this).parent().parent().remove();
					}
                });
                </script>
            </td>
        </tr>
    </if>
<else/>
    <div style="min-width:800px;">
        <table width="100%" border="0" class="table table-striped hidden" cellspacing="0" cellpadding="0">
            <thead>
            	<th>人员</th>
                <volist name="list" id="vo">
                    <th>{$vo.name}</th>
                </volist>
                <th>操作</th>
            </thead>
            <tbody></tbody>
        </table>
    </div>
    </form>
</if>